package cn.mulanbay.persistent.mapper;

import cn.mulanbay.persistent.dto.RoleFunctionDto;
import cn.mulanbay.persistent.entity.RoleFunction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public interface RoleFunctionMapper extends BaseMapper<RoleFunction> {

    void deleteRoleFunction(@Param("roleId") Long roleId);

    List<RoleFunctionDto> selectRoleFunctionBeanList(@Param("roleId")Long roleId);
}
